//
//  BaseModel.h
//  Customer
//
//  Created by tangang on 2017/8/28.
//  Copyright © 2017年 tangang. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "MJExtension.h"
////订单状态
typedef NS_ENUM(NSInteger  ,OrderStatus){
    OrderStatusWaitPay          =10, ///等待支付
    OrderStatusSubscribe        =11, ///已预约
    OrderStatusWaitConsumption  =12, ///等待消费
    OrderStatusWait             =13, ///待接单
    OrderStatusMaking           =16, ///制作中
    OrderStatusWaitRider        =17, ///等待骑手接单
    OrderStatusRider            =18, ///骑手已接单，待收货
    OrderStatusDistribution     =30, ///配送中
    OrderStatusDone             =50, ///已完成待评价
    OrderStatusDelivery         =40, ///已送达
    OrderStatusAppraise         =51, ///已评价
    OrderStatusRefundSuccess    =62, ///退款成功
    OrderStatusCancle           =70, ///已取消
};




@interface BaseModel : NSObject
///通过订单状态返回string
- (NSString *)orderStatus:(OrderStatus)status;

@end
